package com.ecoolex.discount.sales.ws;

import com.ecoolex.discount.sales.entity.MarketingBrand;
import com.ecoolex.discount.sales.entity.MarketingClassify;
import com.ecoolex.discount.sales.entity.MarketingClassifyBrand;
import com.ecoolex.discount.sales.entity.MarketingProduct;
import com.ecoolex.discount.sales.pojo.DiscountclassifyInfoDTO;
import com.ecoolex.discount.sales.pojo.QueryMarketingBrandDTO;
import com.ecoolex.discount.sales.pojo.QueryMarketingClassifyBrandDTO;
import com.ecoolex.discount.sales.pojo.QueryMarketingClassifyDTO;
import com.ecoolex.discount.sales.pojo.QueryMarketingProductDTO;
import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.framework.common.pojo.Sorting;

public interface MarketingProductService {

	MarketingClassify addMarketingClassify(MarketingClassify record,String createUser) throws BizException;
	
	MarketingClassify editMarketingClassify(MarketingClassify record,String updateUser) throws BizException;
	
	void deleteMarketingClassify(MarketingClassify record,String updateUser) throws BizException;
	
	MarketingClassify getMarketingClassify(Integer id);
	
	Pagination<MarketingClassify> queryMarketingClassify(QueryMarketingClassifyDTO query,Sorting[] sorts,Page page);
	
	Pagination<DiscountclassifyInfoDTO> queryMarketingClassifyForH5(QueryMarketingClassifyDTO query,Page page);
	
	MarketingBrand addMarketingBrand(MarketingBrand record,String createUser) throws BizException;
	
	MarketingBrand editMarketingBrand(MarketingBrand record,String updateUser) throws BizException;
	
	void deleteMarketingBrand(MarketingBrand record,String updateUser) throws BizException;
	
	MarketingBrand getMarketingBrand(Integer id);
	
	Pagination<MarketingBrand> queryMarketingBrand(QueryMarketingBrandDTO query,Sorting[] sorts,Page page);
	
	Pagination<MarketingBrand> queryMarketingBrandForH5(QueryMarketingBrandDTO query,Page page);
	
	MarketingClassifyBrand addMarketingClassifyBrand(MarketingClassifyBrand record,String createUser) throws BizException;
	
	MarketingClassifyBrand editMarketingClassifyBrand(MarketingClassifyBrand record,String updateUser) throws BizException;
	
	void deleteMarketingClassifyBrand(MarketingClassifyBrand record,String updateUser) throws BizException;
	
	MarketingClassifyBrand getMarketingClassifyBrand(Integer id);
	
	Pagination<MarketingClassifyBrand> queryMarketingClassifyBrand(QueryMarketingClassifyBrandDTO query,Sorting[] sorts,Page page);
	
	Pagination<MarketingClassifyBrand> queryMarketingClassifyBrandForH5(QueryMarketingClassifyBrandDTO query,Page page);
	
	MarketingProduct addMarketingProduct(MarketingProduct record,String createUser) throws BizException;
	
	MarketingProduct editMarketingProduct(MarketingProduct record,String updateUser) throws BizException;
	
	void deleteMarketingProduct(MarketingProduct record,String updateUser) throws BizException;
	
	MarketingProduct getMarketingProduct(Integer id);
	
	Pagination<MarketingProduct> queryMarketingProduct(QueryMarketingProductDTO query,Sorting[] sorts,Page page);
	
	Pagination<MarketingProduct> queryMarketingProductForH5(QueryMarketingProductDTO query,Page page);
}
